package com.nobuyme.box.bean;

import java.util.List;

/**
 * Created by Yong.
 * E-mail：775811790@qq.com
 * 2017/8/27
 */


public class GoodsListEntity {


    /**
     * page_no : 1
     * page_size : 15
     * items : [{"goods_id":3,"goods_code":"003","toybox_id":1,"toybox_code":"TY001","lattice_id":1,"lattice_code":"MV00001","name":"儿童玩具","cover":"http://ooftwgdmf.bkt.clouddn.com/7a823d76-07cb-4987-b842-5167f55d7a38.png","status":0,"status_str":"空箱"},{"goods_id":2,"goods_code":"002","toybox_id":1,"toybox_code":"TY001","lattice_id":2,"lattice_code":"CWG000002","name":"吉他","cover":"http://ooftwgdmf.bkt.clouddn.com/acb7749b-0bca-43e4-a40c-cf895a13f016.png","status":2,"status_str":"等待回收"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":3,"lattice_code":"mh2299","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":4,"lattice_code":"kh12133","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":2,"goods_code":"002","toybox_id":1,"toybox_code":"TY001","lattice_id":5,"lattice_code":"mu123456","name":"吉他","cover":"http://ooftwgdmf.bkt.clouddn.com/acb7749b-0bca-43e4-a40c-cf895a13f016.png","status":1,"status_str":"待租赁"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":6,"lattice_code":"fg328372837","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":7,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":8,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":9,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":10,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":11,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":12,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":13,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":14,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"},{"goods_id":null,"goods_code":null,"toybox_id":1,"toybox_code":"TY001","lattice_id":15,"lattice_code":"","name":null,"cover":null,"status":0,"status_str":"空箱"}]
     * total_count : 80
     * total_pages : 6
     */

    private int page_no;
    private int page_size;
    private int total_count;
    private int total_pages;
    private List<ItemsEntity> items;

    public void setPage_no(int page_no) {
        this.page_no = page_no;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public void setTotal_count(int total_count) {
        this.total_count = total_count;
    }

    public void setTotal_pages(int total_pages) {
        this.total_pages = total_pages;
    }

    public void setItems(List<ItemsEntity> items) {
        this.items = items;
    }

    public int getPage_no() {
        return page_no;
    }

    public int getPage_size() {
        return page_size;
    }

    public int getTotal_count() {
        return total_count;
    }

    public int getTotal_pages() {
        return total_pages;
    }

    public List<ItemsEntity> getItems() {
        return items;
    }

    public static class ItemsEntity {
        /**
         * goods_id : 3
         * goods_code : 003
         * toybox_id : 1
         * toybox_code : TY001
         * lattice_id : 1
         * lattice_code : MV00001
         * name : 儿童玩具
         * cover : http://ooftwgdmf.bkt.clouddn.com/7a823d76-07cb-4987-b842-5167f55d7a38.png
         * status : 0
         * status_str : 空箱
         */

        private int goods_id;
        private String goods_code;
        private int toybox_id;
        private String toybox_code;
        private int lattice_id;
        private String lattice_code;
        private String name;
        private String cover;
        private int status;
        private String status_str;

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public void setGoods_code(String goods_code) {
            this.goods_code = goods_code;
        }

        public void setToybox_id(int toybox_id) {
            this.toybox_id = toybox_id;
        }

        public void setToybox_code(String toybox_code) {
            this.toybox_code = toybox_code;
        }

        public void setLattice_id(int lattice_id) {
            this.lattice_id = lattice_id;
        }

        public void setLattice_code(String lattice_code) {
            this.lattice_code = lattice_code;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setStatus_str(String status_str) {
            this.status_str = status_str;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public String getGoods_code() {
            return goods_code;
        }

        public int getToybox_id() {
            return toybox_id;
        }

        public String getToybox_code() {
            return toybox_code;
        }

        public int getLattice_id() {
            return lattice_id;
        }

        public String getLattice_code() {
            return lattice_code;
        }

        public String getName() {
            return name;
        }

        public String getCover() {
            return cover;
        }

        public int getStatus() {
            return status;
        }

        public String getStatus_str() {
            return status_str;
        }
    }
}
